<!doctype html>
<html>
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="target-densitydpi=device-dpi, width=device-width, initial-scale=1, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
    <meta name="format-detection" content="telephone=no">
    <link href="../../../sdk/ui.css" rel="stylesheet">
    <link href="style.css" rel="stylesheet">
    <script>
    //Android适配rem
    if (/Android (\d+\.\d+)/.test(navigator.userAgent)) {
    var version = parseFloat(RegExp.$1);
    if (version /*< 4.4*/) {
    var phoneScale = window.screen.availWidth / 640;
    var rootSize = parseInt(phoneScale * 100) + 'px';
    document.documentElement.style.fontSize = rootSize;
    }
    }
    </script>
  </head>
  <body class="flex-col">
    <div class="head myhead">
      <div class="btn" id="goBack"> <i class="ion">&#xe7b7;</i> </div>
      <div class="title" id="headTitle">配件详情</div>
      <div class="btn openView" data-view="2,shop,shopCart">
        <i class="ion">&#xe690;</i>
      </div>
    </div>
    <div class="flex-1 scroll_cont" id="View">
      <div class="pdSlider rect-75" id="slideWrap">
        <div id="Slider-wrapper" class="_full"></div>
      </div>
      <div id="partDetail">
        <textarea class="hide" id="partDetailTemp">
        <div class="pd_hd">
          <div class="pd_hd01">
            <h1 class="_title">${part.name}</h1>
            <!-- if: ${part.marketPrice} != ''&&${part.marketPrice}!=' '&&${part.marketPrice}!='0' -->
            <div class="_price">￥<s>${part.marketPrice|decimal(2)}</s></div>
            <!-- else -->
            <div class="_price">￥${part.price|decimal(2)}</div>
            <!-- /if -->
            <div class="_fav <!-- if: ${part.isCollect}=='1' -->active<!-- /if -->" id="addTofav"><i class="ion">&#xe670;</i></div>
            <!-- /if -->
          </div>
          <div class="pd_hd02">
            <ul class="oh">
              <li>配件图号：${part.no}</li>
              <li>最小包装单元：${part.minBuyCount}</li>
              <li>计量单位：${part.unit}</li>
            </ul>
          </div>
        </div>
        <div class="pd_bd list">
          <!-- if: ${part.hasContent}-->
          <div class="item item-icon-right" id="toDetail">商品详情<i class="ion">&#xe7b9;</i></div>
          <!-- /if -->
          <div class="item item-icon-right" id="toRecomm">用户评价<span class="_num">(${part.replyCount})</span><i class="ion">&#xe7b9;</i></div>
        </div>
        </textarea>
      </div>
    </div>
    <div class="foot flex-row detail_foot">
      <div class="flex-1"><button type="button" class="btn btn-lg btn-block btn-warning" id="buyNow">立即购买</button></div>
      <div class="flex-1"><button type="button" class="btn btn-lg btn-block btn-danger" id="addGouwuche">加入购物车</button></div>
    </div>
  </body>
  <script src="../../../config.js"></script><script src="../../../sdk/modules/core.js" id="seajsnode" ></script>
  <script>
  seajs.use('./script')
  </script>
</html>